<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:s="http://jboss.com/products/seam/taglib">

<body>
		<h1>Page A</h1>
		<h3>Creating a Person object, injecting it into conversation
		scope and going to pageb.xhtml, where conversation is propagated.</h3>
		<h:form>


			<h3>Render pageB - @Begin</h3>
			<h:commandButton action="#{pageaAction.rule1()}"
				value="h:commandButton" /><br/>
			<a4j:commandButton action="#{pageaAction.rule1()}"
				value="a4j:commandButton" /><br/>
			<s:button action="#{pageaAction.rule1()}"
				value="s:button" /><br/>
			<h:commandLink action="#{pageaAction.rule1()}"
				value="h:commandLink" /><br/>
			<a4j:commandLink action="#{pageaAction.rule1()}"
				value="a4j:commandLink" /><br/>
			<s:link action="#{pageaAction.rule1()}"
				value="s:link" /><br/>

			<h3>Render pageB - &lt;begin-conversation&gt;</h3>
			<h:commandButton action="#{pageaAction.rule2()}"
				value="h:commandButton" /><br/>
			<a4j:commandButton action="#{pageaAction.rule2()}"
				value="a4j:commandButton" /><br/>
			<s:button action="#{pageaAction.rule2()}"
				value="s:button" /><br/>
			<h:commandLink action="#{pageaAction.rule2()}"
				value="h:commandLink" /><br/>
			<a4j:commandLink action="#{pageaAction.rule2()}"
				value="a4j:commandLink" /><br/>
			<s:link action="#{pageaAction.rule2()}"
				value="s:link" /><br/>


			<h3>Redirect to pageB - &lt;begin-conversation&gt;</h3>
			<h:commandButton action="#{pageaAction.rule3()}"
				value="h:commandButton" /><br/>
			<a4j:commandButton action="#{pageaAction.rule3()}"
				value="a4j:commandButton" /><br/>
			<s:button action="#{pageaAction.rule3()}"
				value="s:button" /><br/>
			<h:commandLink action="#{pageaAction.rule3()}"
				value="h:commandLink" /><br/>
			<a4j:commandLink action="#{pageaAction.rule3()}"
				value="a4j:commandLink" /><br/>
			<s:link action="#{pageaAction.rule3()}"
				value="s:link" /><br/>
		</h:form>

</body>
</html>